package com.xl98.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ls
 * @since 2020-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PrivateChatMsg对象", description="")
public class PrivateChatMsg implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "私聊id(主键)")
      @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    @ApiModelProperty(value = "两人组id（外键）")
    private String privateId;

    @ApiModelProperty(value = "两人的私聊内容id（外键）")
    private String chatMsgId;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer deleted;


}
